local yangsan_skill = fk.CreateSkill {

  name = "#yangsan_skill",
  attached_equip = "yangsan",
  tags = { Skill.Compulsory, },

}



yangsan_skill:addEffect(fk.DamageInflicted, {
  can_trigger = function(self, event, target, player, data)
    return target == player and player:hasSkill(yangsan_skill.name) and data.card and data.card.type == Card.TypeTrick
  end,
  on_use = function(self, event, target, player, data)
    player.room:broadcastPlaySound(Thbattle_path .. "audio/card/male/yangsan")
    data:preventDamage()
  end,
})

return yangsan_skill